package com.frogs.ucenter.v1.service;

import com.frogs.system.web.api.request.Request;
import com.frogs.system.web.api.response.Response;

public interface TaskService {

	/**
	 * 完成动作
	 * 
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	public Response completeAction(Request request) throws Exception;

	/**
	 * 获取用户所有的常规任务
	 * @param request
	 * @return
	 * @throws Exception
	 */
	public Response getUserPointTask(Request request) throws Exception;

	/**
	 * 获取用户正在进行中和已完成的常规任务
	 * @param request
	 * @return
	 * @throws Exception
	 */
	public Response getUserPointTaskByOther(Request request) throws Exception;

	/**
	 * 获取家庭成员正在进行中和已完成的常规任务
	 * @param request
	 * @return
	 * @throws Exception
	 */
	public Response getAttentionPointTask(Request request) throws Exception;

	/**
	 * 领取常规任务奖励
	 * @param request
	 * @return
	 * @throws Exception
	 */
	public Response completePointTask(Request request) throws Exception;

}
